import { Pipe, PipeTransform } from '@angular/core';

@Pipe({name: 'upper',pure: false})

export class upperPipe implements PipeTransform {
  transform(key: string): any {
   return key.toUpperCase();
  }
}